home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
501-525
/
disk_521
/
a68k
/
a68k271.lzh
/
Makefile.dbg
< prev
next >
Wrap
Makefile
|
1991-04-16
|
1KB
|
47 lines
# Simple makefile to compile and link the A68k Assembler.
# Created 23Jun87 by J.A. Lydiatt
# protos.h added April 16, 1991 by Charlie Gibbs.
OBJ= A68kmain.o Opcodes.o Operands.o Adirect.o A68kmisc.o\
Symtab.o Codegen.o wb_parse.o toupper.o
SHARLIB1= A68k.doc makefile A68kdef.h A68kglb.h A68kmain.c Opcodes.c Operands.c\
Adirect.c A68kmisc.c Symtab.c Codegen.c wb_parse.c isspace.c
SRC= A68kmain.c Opcodes.c Operands.c Adirect.c A68kmisc.c\
Symtab.c Codegen.c wb_parse.c isspace.c toupper.c
SHARLIB2= A68k.uue
.SUFFIXES: .o .a .c .s
.c.o:
zc -a -Oram:$*.s $*.c
top -vfp ram:$*.s
A68k -d -o$*.o ram:$*.s
cp ram:$*.s $*.a
delete ram:$*.s
.a.o:
A68k -d -o$*.o $*.a
A68k: $(OBJ)
Blink zl:begin.o $(OBJ) To A68k LIB zl:zc.lib zl:Amiga.lib
$(OBJ): A68kdef.h A68kglb.h protos.h
#
# Note: Manx's makefile seems to have a bug that forbids indirection
# such as "shar >lib a.c b.c c.c"
# however "make >lib" seems to work fine if you edit out the
# commands make echos as it proceeds through the makefile.
#
# Try make >ram:shardcp Archive
#
Archive:
shar $(SHARLIB1)
shar $(SHARLIB2)
Lint:
lint -iAztec:include Aztec:Stdlib.c Aztec:Defaults.c $(SRC)